<?php
class MHDEV_View_Helper_GetSubBoards extends Zend_View_Helper_Abstract
{
	public function GetSubBoards($uid)
	{
		// param
		$uid	= intval($uid);

		// db
		$boards	= new Boards();
		
		// query
		$query	= $boards->fetchAll('root_uid = ' . $uid, 'sort_uid DESC');
		
		return $query;
	}
}